# -*- coding: utf-8 -*- 
from django.conf.urls.defaults import *

urlpatterns = patterns('',
    #(r'^$', include('intraorg.cms.urls')),
    (r'^$','intraorg.mock.views.announcements'),
    (r'^static/(.*)$', 'django.views.static.serve', { 'document_root' : '_static'}),
    (r'^admin/', include('django.contrib.admin.urls')),
    (r'^announcements/$','intraorg.mock.views.announcements'),
    (r'^announcements/(\d+)/$','intraorg.mock.views.announcements'),
    (r'^announcements/previous/$','intraorg.mock.views.previous_announcements'),
    (r'^members/', include('intraorg.members.urls')),
    (r'^groups/', include('intraorg.members.g_urls')),
    (r'^projects/', include('intraorg.projects.urls')),
    (r'^contacts/', include('intraorg.contacts.urls')),
    
    #szukanie globalne
    (r'^search/$', 'intraorg.mock.views.search'),
    
    #autoryzacja
    (r'^accounts/login/$',  'intraorg.mock.views.login'),
    (r'^accounts/logout/$', 'intraorg.mock.views.logout'),
    (r'^accounts/invalid/$', 'intraorg.mock.views.login_invalid'),
    
)
